<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<style type="text/css">
dd{
	padding-bottom:10px;
}
body{
	padding:0px;
	margin:0px;
}
div{
	display:block;
	position:static;
	float:left;
	width:100%;
}
</style>
</head>
<body>
	<div>
		<form target="resultpage" action="${basepath}/material/page.htm" method="post" >
			<dl>
				<dd>
					<label>时间段：</label>
					<input id="startdate" class="Wdate" name="startdate" onClick="WdatePicker({skin:'blue',dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:'%y-%M-{%d+1}',onpicked:function(){$dp.$('enddate').click();}})"/> -
					<input id="enddate" class="Wdate" name="enddate"  onClick="WdatePicker({skin:'blue',dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'startdate\',{d:1})}',maxDate:'%y-%M-{%d+1}'})"/>
				</dd>
				<dd>
					<label>选择员工：</label>
					<select id="userId" name="userId" class="Wdate">
					<option value="">全部</option>
					<#if users??>
						<#list users as user>
						<option value="${user.id}">${user.name?html}</option>
						</#list>
					</#if>
				</select> 
				</dd>
				<dd>
					<label>行为：</label>
					<select id="logResultKey" name="logResultKey" >
						<#list logResultMap?keys as key >
							<option value="${key}" <#if key == Loginlog.LOGRESULT_DEFAULT_DISPLAY>selected="selected"</#if> >${this.obtainLogResultStr(key)}</option>
						</#list>
					</select>
				</dd>
				<dd>
					<input value="搜索" type="submit" />
				</dd>
			</dl>
		</form>
	</div>
	
	<div>
		<iframe id="resultpage" scrolling="no" name="resultpage" frameborder="0" width="99%" src="${basepath}/materiallog/page.htm" ></iframe>
	</div>
</body>
<script type="text/javascript" src="${basepath}/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
(function(){
	window.parent.document.getElementById("iframe_right").scrolling="yes";
})();
</script>
</html>